package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.PageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandService {
    /**
     * 查询所有
     * @return
     */
    List<Brand>selectAll();


    /**
     * 插入数据
     * @param brand
     */
    void insert(Brand brand);

    /**
     * 批量删除
     * @param ids
     */
    void deleteByIds(int []ids);


    PageBean<Brand> selectByPages(int currentPage,int pageSize);

}
